src1=test.c 
src2=code.c
target1=mybin
target2=mycode
$(target2):$(src2)
		@gcc $(src1) -o $(target1)  -g #以debug编译
$(target1):$(src1)
		@gcc $(src2) -o $(target2)  -g #以debug编译
.PHONY:clean
clean:
		rm -f $(target1) $(target2)		


# mybin:test.c
#	 @gcc test.c -o mybin
# 	@echo "编译成功"
# .PHONY:clean
# clean:
#	 @rm -f mybin
#	 @echo "清理成功"

